package com.ruoyi.order.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 微信下单返回参数
 */
@Data
@ApiModel(description = "微信下单返回参数")
public class WeChatPayVo implements Serializable {

    @ApiModelProperty(value = "小程序appId", example = "小程序appId")
    private String appId;

    @ApiModelProperty(value = "Unix时间戳（秒级）", example = "Unix时间戳（秒级）")
    private String timeStamp;

    @ApiModelProperty(value = "随机字符串", example = "随机字符串")
    private String nonceStr;

    @ApiModelProperty(value = "订单详情扩展字符串（prepay_id参数值）", example = "订单详情扩展字符串（prepay_id参数值）")
    @JsonProperty("package")
    private String packageValue;

    @ApiModelProperty(value = "签名类型（固定RSA）", example = "签名类型（固定RSA）")
    private String signType = "RSA";

    @ApiModelProperty(value = "签名（RSA格式）", example = "签名（RSA格式）")
    private String paySign;
}
